package com.headFirst.frist;

public class MallardDuck extends Duck {
    @Override
    public void display() {
        System.out.println("the Head is green");
    }

    public MallardDuck() {
        quackbehavio = new Squack();
        quackbehavio.quack();
    }
}
